#ifndef EXPBYCAT_H
#define EXPBYCAT_H

#include"expview.h"
#include"expcatview.h"
#include"db_class.h"
#include <QMainWindow>

namespace Ui {
    class ExpByCat;
}

class ExpByCat : public QMainWindow
{
    Q_OBJECT

public:
    explicit ExpByCat(int id,QWidget *parent = 0);
    ~ExpByCat();

private:
    Ui::ExpByCat *ui;
    int page_id;
    db_class db;
private slots:
    void on_pushButton_clicked();
    void back();
};

#endif // EXPBYCAT_H
